import {QueryFiledUtil} from '@/utils'
import {DictOptions, SystemOptions} from "@/libs/options";

export const ACCOUNT_SEARCH = [
    QueryFiledUtil.setInputField('account', '登录账号'),
    QueryFiledUtil.setInputField('name', '账号姓名'),
    QueryFiledUtil.setTreeSelectField('organCode', '所属机构', SystemOptions.OrganTreeOptions),
    QueryFiledUtil.setInputField('phoneNumber', '手机号码'),
    QueryFiledUtil.setDictUrlField('sex', '人员性别', DictOptions.Sex, false, false),
    QueryFiledUtil.setDictUrlField('state', '账号状态', DictOptions.AccountState, false, false),

]

export const ROLE_SEARCH = [
    QueryFiledUtil.setInputField('code', '角色代码'),
    QueryFiledUtil.setInputField('name', '角色名称'),
]
